package cn.jwtool.jwcache.buffer.listener;

/**
 * @author : willian fu
 * @version : 1.0
 * key过期事件监听器
 */
public class ExpiredEventListener implements EventListener{

    @Override
    public void eventHandler(Event event, Object...param) {
        if (event.equals(Event.KEY_EXPIRED)){
            System.out.println("监听到 key=>" + param[0].toString() + "过期");
        }
    }
}
